package org.syncsoft.overalt.gui.impl.window.commit;

import javax.swing.JLabel;

import org.syncsoft.overalt.common.api.Resource;
import org.syncsoft.overalt.gui.api.window.AbstractSendFileWindow;
import org.syncsoft.overalt.gui.util.BuildFormWindow;

/**
 * commit window
 * @author tptfc
 *
 */
public class CommitWindow extends AbstractSendFileWindow {
	public CommitWindow(CommitWindowController controller) {
		super(controller);
	}
	
	public CommitWindow(int width, int height, CommitWindowController controller) {
		super(width, height, controller);
	}

	@Override
	protected void doBuildWindow(BuildFormWindow build) {
		JLabel label = new JLabel(Resource.getProperty("overalt.text.versionDescription"));
		build.add(label, newTextArea("versionDescription"));
		super.doBuildWindow(build);
	}
}
